package com.sk.k01.m01.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor//生成有参构造器
@NoArgsConstructor//生成无参构造器
public class MyException extends RuntimeException{
    private Integer code;//状态码
    private String msg;//状态信息
}
